package com.dj.pojo.dto;

public class Pagep {
    private  int page;
    private  int limit;

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }


    public int getoffset(){
        return (page-1)*limit;
    }
}
